Inserting advertising content

ABSTRACT

Content may be inserted at a duplicating device by inserting advertising content into a duplicated feed, and transmitting the duplicated feed to the terminal. The transmission of the duplicated feed is performed in response to a state of the terminal.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent application Ser. No. 14/319,815, filed Jun. 30, 2014, which is a continuation of U.S. patent application Ser. No. 13/620,547, filed Sep. 14, 2012 now issued as U.S. Pat. No. 8,769,151, which is a continuation of U.S. patent application No. 13/227,402, filed Sep. 7, 2011 now issued as U.S. Pat. No. 8,762,575, which is a continuation of U.S. patent application Ser. No. 10/183,420, filed Jun. 28, 2002 now issued as U.S. Pat. No. 8,028,092. Each of the aforementioned patent(s) and application(s) is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

This document relates to advertising and streaming media systems.

BACKGROUND

Inserting advertising into a media feed may be manually intensive and prone to operator error. One approach to inserting advertising has involved placing special audio tones in an audio/visual signal to cue analog gear to play a stored tape.

SUMMARY

In general, advertising content may be inserted into a media feed by receiving a first feed of one or more data units comprising an attribute portion and a payload portion, duplicating the first feed at the duplicating device for transmission as at least one duplicated feed, inserting advertising content into the duplicated feed prior to transmission, and transmitting the duplicated feed to the terminal. The transmission of the duplicated feed is performed in response to a state of the terminal. A duplicating device may insert the advertising content and perform the other operations.

Implementations may include one or more of the following features. For example, the advertising content may be selected based on a profile for a terminal. The advertising content may be loaded upon determining that the terminal profile relates to an advertising content profile associated with the advertising content. The terminal profile may relate to one or more preferences associated with a user of the terminal. The state of the terminal may include the temporal location of the terminal in receiving the duplicated feed (i.e., the portion of the duplicated feed that the terminal has received).

The first feed may include regularly scheduled programming. The advertising content may be associated with one or more categories. The categories may include a local requirement. The advertising content may include a stream of data units.

The advertising content may be inserted upon reaching a metatag. The metatag may indicate a level of parental control.

The duplicating device may be structured and arranged to store the advertising content. Storing the advertising content may include storing the advertising content in an advertising buffer structured and arranged to be transmitted in the duplicated feed upon the occurrence of a predetermined event. The predetermined event may include reaching a metatag in the first feed, the metatag indicating that the advertising content should be inserted in the duplicated feed. Inserting advertising content may include comparing a local metatag with a national metatag to determine whether to insert a piece of local advertising content instead of a piece of national advertising content.

Content may be inserted from the first feed in the event of an interruption. The interruption may include a loss of service in accessing the advertising content. The interruption also may include an emergency message indicating that emergency programming requires transmission.

Transmitting the duplicated feed to the terminal may include transmitting the duplicated feed with an address corresponding to the terminal.

The data unit may include an Internet Protocol packet. The attribute portion of the data unit may include an Internet Protocol header. The attribute portion of the data unit also may specify one or more pieces of layer-three information. Different attribute portions may be generated and associated with duplicates of the payload portion generated in the duplicate stream.

Duplicating at least the payload portion may include duplicating only the payload portion of the data unit. Duplicating at least the payload portion also may include duplicating the payload portion and the attribute portion. Changing the IP destination address may include changing the IP destination address to an IP address corresponding to one or more terminals to which access to the payload portion will be enabled.

Associating different attribute portions with the data unit and duplicates of the payload portion may include specifying destination information that differs among the duplicates of the payload portion. Generating and associating different attribute portions may include changing in IP destination address.

Other features will be apparent from the following description, including the drawings, and the claims.

DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram of a communications system configured to splice multiple streams of data units.

FIG. 2 is a flow chart illustrating how advertisements may be inserted into a duplicated feed in a communications system, such as the communications system in FIG. 1.

FIG. 3 is a block diagram of a communications system configured to enable national and local advertising insertion.

FIG. 4 is a block diagram showing data flow as a duplicating device uses metatags to enable local advertising insertion.

FIG. 5 is a flow chart illustrating how a communications system may insert local advertising content by processing metatags.

Like reference symbols in the various drawings indicate like elements.

DETAILED DESCRIPTION

For illustrative purposes, FIGS. 1-5 describe a communications system for inserting advertising content into a stream of data units. Generally, a source system sends a first feed to a duplicating device. In response, the duplicating device duplicates the feed, inserts advertising content in the duplicated feed, and transmits the duplicated feed to a terminal. The transmission of the duplicated feed is performed in response to the state of the terminal receiving the duplicated feed. For instance, a duplicating switch may determine a profile for the terminal (e.g., recipient), and determine where the terminal is at in receiving the stream. Upon determining that the recipient is reaching an advertising ‘slot’ or metatag, the duplicating device may insert a piece of advertising content into the duplicated stream, and transmit the duplicated stream to the terminal.

For brevity, several elements in the figures described below are represented as monolithic entities. However, as would be understood by one skilled in the art, these elements each may include numerous interconnected computers and components designed to perform a set of specified operations and/or dedicated to a particular geographical region.

Referring to FIG. 1, communications system 100 includes a source system 110, a terminal 150, and communication software and hardware enabling communications between the source system 110 and the terminal 150. More particularly, the communications path between the source system 110 and the terminal 150 includes a network 120, a duplicating device 130, and a network 140. As will be described in greater detail, the source system 110 generally transmits one or more data units in a first feed of data units across network 120 to one or more duplicating devices 130 that duplicate data units or portions thereof and transmit the duplicated data units or data unit portions to two or more terminals 150 through network 140.

Typically, a source system 110 may be structured and arranged to convert a media source (e.g., a video or audio feed) into a first feed of data units for transmission across a network 120. The source system 110 may include a general-purpose computer having a central processor unit (CPU), and memory/storage devices that store data and various programs such as an operating system and one or more application programs. Other examples of a source system 110 include a workstation, a server, a special purpose device or component, a broadcast system, other equipment, or some combination thereof capable of responding to and executing instructions in a defined manner. The source system 110 also typically includes an input/output (I/O) device (e.g., video and audio input and conversion capability), and peripheral equipment such as a communications card or device (e.g., a modem or a network adapter) for exchanging data with the network 120.

A communications link 115 is used to communicate data between source system 110 and network 120. Communications link 115 may include, for example, a telephone line, a wireless network link, a cable network, or a direct connection.

The network 120 typically includes hardware and/or software capable of enabling direct or indirect communications between the source system 110 and the duplicating device 130. The network 120 may include a direct link between the source system 110 and the device 130, or it may include one or networks or subnetworks between them (not explicitly shown). Each network or subnetwork may include, for example, a wired or wireless data pathway capable of carrying and receiving data. Examples of network 120 include the Internet, the World Wide Web, a WAN (“Wide Area Network”), a LAN (“Local Area Network”), an analog or a digital wired and/or wireless telephone network (e.g., PSTN (“Public Switched Telephone Network”), ISDN (“Integrated Services Digital Network”), or xDSL (“any form of Digital Subscriber Loop”)), a radio, television, cable, or satellite network, or any other delivery mechanism for carrying data.

The duplicating device 130 typically is structured and arranged to receive the first feed of data units from the source system 110, to duplicate the stream of data units, and to transmit a stream of duplicated data units to one or more terminals 150. In some implementations, the duplicating device 130 is structured and arranged to perform filtering and forwarding between different domains at the same level of the protocol stack in the OSI (“Open System Interconnection”) reference model. For example, duplicating device 130 may forward Ethernet frames between different Ethernet segments. In another example, duplicating device 130 may forward IP packets between different IP subnets.

The duplicating device 130 may include a duplicating switch. Generally, a duplicating switch includes a device that performs network operations and functions in hardware (e.g., in a chip or part of chip). In some implementations, the duplicating switch may include an ASIC (“Application Specific Integrated Circuit”) implementing network operations logic directly on a chip (e.g., logical gates fabricated on a silicon wafer and then manufactured into a chip). For example, an ASIC chip may perform filtering by receiving a packet, examining the 1P address of the received packet, and filtering based on the IP address by implementing a logical gate structure in silicon.

Implementations of the device included in the duplicating switch may employ a Field Programmable Gate Array (FPGA). A FPGA is generally defined as including a chip or chips fabricated to allow a third party designer to implement a variety of logical designs on the chip. For example, a third party designer may load a FPGA with a design to replace the received IP addresses with different IP addresses, or may load the FPGA with a design to segment and reassemble IP packets as they are modified while being transmitted through different networks.

Implementations of the device included in the duplicating switch also may employ a network processor. A network processor is generally defined to include a chip or chips that allow software to specify which network operations will be performed. A network processor may perform a variety of operations. One example of a network processor may include several interconnected RISC (“Reduced Instruction Set Computer”) processors fabricated in a network processor chip. The network processor chip may implement software to change an

IP address of an IP packet on some of the RISC processors. Other RISC processors in the network processor may implement software that monitors which terminals are receiving an IP stream.

Although various examples of network operations were defined with respect to the different devices, each of the devices tends to be programmable and capable of performing the operations of the other devices. For example, the FPGA device is described as the device used to replace IP addresses and segment and reassemble packets. However, a network processor and ASIC are generally capable of performing the same operations.

The duplicating device 130 may include an advertising buffer 132 structured and arranged to store one or more pieces of advertising content. Typically, the advertising buffer 132 is structured and arranged to enable timely insertion of one or more pieces of advertising content into a duplicated feed. Although common uses of the advertising buffer 132 may include traditional advertisements, other content that may be stored in the advertising buffer may include National Emergency Broadcast System content, other programming (e.g., local and/or breaking news over nationally scheduled programming), and/or fail over connections.

The duplicating device 130 may include an advertising store 134 structured and arranged to store one or more pieces of content for insertion. As shown by the dotted lines, the advertising store 134 may reside locally on the duplicating device 130 or it may reside on a separate and distinct device, such as, for example, a separate server or duplicating switch with storage. Although aspects of the advertising store 134 may resemble aspects of the advertising buffer 132, the advertising buffer 132 serves to provide timely access to the desired content while the advertising store 134 serves to provide more storage than typically is practical for the advertising buffer 132 to provide.

In one example, a duplicating device 130 may include both an advertising buffer 132 and an advertising store 134. In this example, the pool of available advertisements might reside in the advertising store 134 with the duplicating device 130 selecting required advertisements for loading to the advertising buffer 132 for just-in time splicing. Through this selective loading to the advertising buffer 132, the amount of buffer required may be reduced. However, while the advertising buffer 132 may illustrate one device to reduce solid-state memory requirements, the advertising store 134 also may be used to splice advertisements. For example, the duplicating device 130 may initially store a received feed onto a hard disk drive. Advertising content may be inserted into the received feed, and the results may be transmitted as the duplicated feed. Other examples may feature the use of a disk drive with adequate seek times as an advertising buffer 132. Similarly, the advertising store 134 also may include one or more solid-state memory devices (e.g., Random Access Memory).

The duplicating device 130 also may include an advertising interface 136. Typically, the advertising interface 136 includes a controller structured and arranged to access one or more pieces of advertising content for insertion into the duplicated feed. For example, the advertising interface 136 may access a network (e.g., network 120 or 140) to ‘pull’ the required advertisement so that the required advertisement may be inserted. The advertising interface 136 then may load the pulled advertisement to the advertising buffer 132 and/or advertising store 134.

Data units handled by duplicating switch 130 may be accessed by or sent to terminals 150 through network 140. As such, network 140 is structured and arranged to receive data units transmitted from the duplicating switch 130 for transmission to the terminals 150.

The network 140 may include hardware and/or software capable of enabling direct or indirect communications between the duplicating switch 130 and the terminal 150. As such, the network 140 may include a direct link between the duplicating switch 130 and the terminal 150, or it may include one or more networks or subnetworks between them (not shown). Each network or subnetwork may include, for example, a wired or wireless data pathway capable of carrying and receiving data. Examples of the delivery network include the examples noted above with respect to network 120. Network 120 and network 140 may share one or more hardware or software devices.

The terminal 150 may include one or more devices capable of receiving the duplicated feed transmitted by duplicating device 130 through network 140. The terminal 150 may include a controller (not shown) that processes instructions received from or generated by a software application, a program, a piece of code, a device, a computer, a computer system, or a combination thereof, which independently or collectively direct operations of the terminal 150. The instructions may be embodied permanently or temporarily in any type of machine, component, equipment, storage medium, or propagated signal that is capable of being delivered to the terminal 150 or that may reside with the controller at terminal 150. Terminal 150 may include a general-purpose computer (e.g., a personal computer (PC) 152) capable of responding to and executing instructions in a defined manner. The terminal 150 also may include a workstation, a notebook computer, a PDA (“Personal Digital Assistant”), a wireless phone, a component, other equipment, or some combination of these items that is capable of responding to and executing instructions.

In one implementation, the terminal 150 includes one or more information retrieval software applications (e.g., a browser, a mail application, an instant messaging client, an Internet service provider client, or an AOL TV or other integrated client) capable of receiving one or more data units. The information retrieval applications may run on a general-purpose operating system and a hardware platform that includes a general-purpose processor and specialized hardware for graphics, communications and/or other capabilities. In another implementation, terminal 150 may include a wireless telephone running a micro-browser application on a reduced operating system with general purpose and specialized hardware capable of operating in mobile environments.

In another implementation, the terminal 150 may include a cable headend 154. Typically, aspects of the cable headend 154 resemble aspects of the terminal 150 and/or the PC 152 described above. For example, the cable headend 154 may include one or more software applications to retrieve content. Thus, a cable headend 154 may retrieve required content and sent it out on a cable distribution program as regularly scheduled programming on a specified cable channel.

However, aspects of the cable headend 154 typically differ in that the cable headend is typically structured and arranged to act as a proxy for one or more devices (e.g., a set top tuner). While a PC can act as a proxy for one or more devices, PC's typically do not do so. As a consequence, the state of the cable headend 154 may include an aggregation of one or more constituent subscribers, in addition to describing state information for the cable headend itself. For example, a cable headend 154 could be given a profile that aggregates one or more individual profiles. This aggregated profile could be modified, tracked, and changed in the same manner that the state of a PC could be modified, tracked and changed. The difference is that the cable headend 154 may involve additional processing to aggregate the individual profiles/states.

FIG. 2 illustrates how advertisements may be inserted in a communications system 100. Specifically, FIG. 2 illustrates how a duplicating device 130 receives a first feed, determines the state of a terminal, accessing advertising content responsive to the first feed and the state of the terminal, and transmits duplicated feed with the advertising content inserted into the duplicated feed.

Initially, the source system 100 transmits the first feed (step 205). Examples of the first feed (e.g., stream of data units) may include a video feed (e.g., television programming), an audio feed (e.g., Internet radio, or nationally syndicated radio programming being distributed across an IP network), and/or nontraditional media (e.g., an online chat). The duplicating device 130 receives the first feed (step 210), and duplicates the first feed (step 215). Although duplicating the first feed is shown as occurring in response to receiving the first stream, duplicating the first feed is not required to be performed first upon receiving the first feed. Furthermore, duplicating the first feed may refer to a broad spectrum of activities.

In one example, duplicating the first feed may refer to storing the first feed in a buffer. Storing this feed may enable rapid duplication of the content as a duplicated feed by adding and replacing new header information to enable simultaneous access to the content by multiple terminals. Another example may include storing the packet with address fields in the buffer. The address fields may be modified to represent the addresses corresponding to one or more terminals. Other implementations may receive the first feed, duplicate the feed, and transmit the feed to one or more terminals, without necessarily waiting for state information to be provided unless advertisements are required.

Independently, or in response to receipt of the first feed by the duplicating device 130, the terminal 150 provides state information (step 225) that the duplicating device 130 receives (step 230). The state information may include a terminal profile and session information. A terminal profile may describe one or more preferences associated with viewers using a terminal. For example, a viewer may prefer trucks to convertibles. Similarly, the viewer may dislike professional sports, while preferring collegiate athletics. Regardless of the particular preference, these preferences may be represented in an automated manner. In one example, the terminal may have a record with one or more associated fields, where each field describes the terminal viewer. For example, the first parameter may indicate gender, while the second parameter may indicate age. In a second example, a profile may include one or more keywords. In any event, aspects of this terminal profile may be used to select advertising content.

Session information describes the relationship between the terminal 150 and the duplicating device 130 relative to the duplicated recorded by the feed terminal 150. For example, the duplicating device 130 may know that a first terminal has processed 80 packets of the duplicated feed, while a second terminal has processed 95 packets of the duplicated feed. Accordingly, the second terminal will likely reach advertising points at an earlier time than the first terminal. Session information also may identify the duplicated feed being received by the terminal.

In response to the state information and receiving the first feed, the duplicating device 130 accesses advertising content (step 235). Typically, accessing content information includes correlating the state information (e.g., session and profile information) with the received first feed. For example, marketers may determine that certain food advertisements should be targeted to certain demographics after certain programming. Thus, upon determining that the targeted conditions will occur or are occurring, one such identified food advertisement may be accessed for incorporation into the duplicated feed. Accessing advertising content may describe a range of activities. For example, accessing advertising content may include loading three pieces of advertising content in a buffer (e.g., advertising buffer 132) from an advertising library (e.g., advertising store 134) of twenty pieces. In another example, the duplicating device 130 uses advertising interface 333 to retrieve the required advertisements from an off-device media library. The advertising interface 134 may access an advertising stream and retrieve the stream for incorporation into the duplicated feed of the duplicating device 130 without storing the advertising stream. In another example, accessing the advertising content may include determining whether the advertising content in the advertising buffer 132 meets acceptance criteria. If not, a selection program may identify advertising content that meets the criteria.

The duplicating device 130 inserts advertising content into the duplicated feed (step 240). Inserting advertising content into the duplicated feed may include modifying a location identifier (e.g., a pointer) that identifies which content to duplicate, for example, to change the identifier from pointing to the first feed (e.g., regularly scheduled programming) to pointing to advertising content loaded in the buffer. In another example, the advertising content may be inserted into buffer locations adjoining the first feed. That is, in the course of advancing the location identifier (indicating the portion of the duplicated feed to be sent to a terminal), the location identifier would make no distinction as to whether the content in the buffer was from the first feed or the advertising feed, and, instead, would advance through the content without regard to the classification. Another example may include creating at the end of the duplicated feed an indicator as to where the content from the first feed ends. Upon reaching the indicator, the duplicating device may access the stored content or advertising feed where the advertising content resides. The duplicating device 130 transmits the duplicated feed with the inserted advertising content to the terminal (step 245). The terminal 150 receives the duplicated feed (step 250). Receiving the duplicated feed may involve a handshaking process to coordinate flow control and stream reception. For example, the duplicating device 130 may transmit the stream as a TCP (“Transport Control Protocol”) stream and use TCP's handshaking capability to minimize the likelihood of dropped data. This handshaking process may verify that a terminal has received the advertising content.

FIG. 3 illustrates an example of a communication system 300 that enables national and local advertising to be sent to one or more terminals. Generally, aspects of the system described with respect to FIG. 3 relate to aspects of the system described with respect to FIG. 1. For example, both system 100 and system 300 include a source system 110, a network 120, a duplicating device 130, a network 140, and a terminal 150. However, the system 300 typically is modified to address a two-tiered advertising system associated with national and local advertising. Thus, aspects of the system 300 also may present, though not shown, in the system 100. For example, the source system 110 may include an analog feed 311, though such a feed is only shown in FIG. 3.

Source system 110 typically includes a device structured and arranged to send out a ‘national’ feed through network 120 to one or more duplicating devices 130 acting as local content insertion points. Generally, source system 110 includes an analog feed 311, an MPEG2 (Motion Picture Experts Group 2) encoder 312, an advertising insertion device 313, a conversion device 314, a national advertising storage 315, an advertising server 316, and a duplicating switch 317. The source system 110 may be structured and arranged to convert the analog feed 311 into MPEG2 feed using the MPEG2 encoder 312. The conversion device 314 is structured and arranged to wrap the MPEG2 stream into an IP stream with advertising insertion points using advertising insertion device 313. Duplicating device 317 is structured and arranged to access national advertising storage 315 through advertising server 316 to insert advertising content into the IP stream sent from conversion device 314. Thus, aspects of the source system in FIG. 3 may resemble aspects of the duplicating device described previously. However, FIG. 3, duplicating switch 317 interfaces with another duplicating device 130 instead of interfacing with a terminal 150.

Although FIG. 3 illustrates a two-tiered system of advertising insertion, implementations may include using more than two tiers of duplicating devices. For example, a carrier may include international, national, regional, and local tiers. The duplicating devices need not even be assigned to hierarchies. For example, a duplicating device closet to the feed may be accessed as the first device for inserting adverting content. This first device may send one or more streams to a second tier of duplicating devices. These second tier devices may send their feeds with additional inserted advertising content to a third tier of duplicating devices. The situation of the tiers need not be logical or geographical. For example, the second and third tiers may represent different distributor and subscriber groups.

Network 120 includes several connections from the source system 110 to the duplicating device 130. For example, network 321 includes links to San Francisco 322, Columbus 323, and Dulles 324. These connection to different locations may include redundant links to duplicating device. For example, there is a redundant link 325 between a Columbus link 323 and a Dulles link 326 (through network 327) to reach duplicating device 130.

Duplicating device 130 includes one or more devices structured and arranged to insert local advertising content. Duplicating device 130 includes a local advertising ingest site 331, a local advertising storage device 332, and advertising server 333, and a duplicating switch 334. In general, duplicating device 130 receives local advertising content in a local advertising content ingest site 331. For example, the local advertising ingest device 331 may include a device that converts one or more tapes of advertisements into a MPEG2 file. This advertising content may reside on local advertising storage 332 to be accessed by an advertising server 333. The duplicating switch 334 may access the advertising server 333 to access local advertisements.

Although the duplicating device 130 is described with respect to having the local advertising ingest device 331 feed into the local advertising storage 332, having the local advertising server 332 feed into the advertising server 333, and having the advertising 333 feed into the duplicating switch 334, other implementations need not include all of these devices. Rather, these devices illustrate the functionality that may be present at a local advertising content insertion site. For example, the duplicating device 130 might only include a duplicating switch 334. This duplicating switch 334 may include functionality to receive advertising content from one or more sources. These sources may include an analog conversion interface blade on the duplicating switch 334, storage residing on the duplicating switch, and/or a networked controller configured to retrieve advertisements.

The duplicating device 130 may interface with the network 140 to reach the terminal 150, which in this case is the cable headend. Because of the functionality of the cable headend equipment, aspects of the network 140 may be indistinguishable from aspects of the terminal 150. For example, network 140 may include the network equipment to connect the duplicating device 130 to a cable headend, with the cable terminating a portion of the communications (e.g., to modulate onto channels for tuners) with a portion of the communications being forwarded as Internet traffic over the cable system to consumers. Irrespective of which devices are labeled as the network or the terminals, the duplicating device transmits the duplicated feed in response to the state of the terminal, which may be a cable headend or a PC behind the cable headend accessing the Internet.

FIG. 4 illustrates how metatags may be used to indicate when advertising content may be inserted in a stream of data units, and whether to insert a local advertisement over national advertising. In general, metatags are placed (logically or temporally) between two pieces of content in a feed to indicate the end of a first piece of content and the beginning of a second piece of content.

Metatags may be created in a number of ways. For example, metatags may be inserted between content items in a playlist of content. In another example, metatags may be created through a video-editing suite.

Timeline 400 includes a first feed 405, which may include live or scheduled programming, advertisements, national programs, and/or transmissions of the Emergency Broadcast System. In particular, FIG. 4 shows a timeline 400 of content being transmitted in a stream of datagrams. In timeline 400, the timeline begins at the right and moves to the left (e.g., beginning with live content 410 and ending with live content 450). In timeline 400, first feed 405 includes live content 410, which is followed by national advertisements 414, 418, 422, 426, and then live content 450. Live content 410 and national advertisement 414 are separated by a metatag 412, national advertisement 414 and 418 are separated by a metatag 416, national advertisements 418 and 422 are separated by metatag 420, national advertisements 422 and 426 are separated by metatag 424, and national advertisement 426 and live content 450 are separated by metatag 428.

Timeline 400 also shows local advertising content in a feed. Advertising content 405 begins with metatag 416B, followed by local advertisement 418B, which is in turn followed by metatag 420B.

The metatag includes a weight indicating a prioritization for the affiliated piece of content. For example, when national advertisement 414 is affiliated with metatag 412, metatag 412 has a weight of one. In timeline 400, advertisements with a higher priority will be incorporated into a duplicated feed over advertisements with a lower priority. Thus, in the example shown, priority five represents the highest priority and advertisements having this priority will be inserted over all other pieces of content with a priority of less than one. In this case, there is a no local advertising content so the national advertisement 414 is inserted. However, the metatag 420 associated with national advertisement 422 has a weight of 3 while the metatag 416B for local advertisement 418B has a weight of 4. Thus, local advertisement 418B would be inserted in the duplicated feed over national advertisement 422. After local advertisement 418B, local metatag 420B has a weight of 3 while the metatag 424 associated with national advertisement 426 has a weight of 4 indicating that the duplicated feed uses national advertisement 426 over the local advertising content.

In the event of a tie between two metatags, various tiebreaker decisions may be used (e.g., default to local advertising content). The metatag may be descriptive of the intended audience or of the advertising content that was ordered. For example, a weight of 6 may indicate that the metatag was intended for 6 million terminals. Thus, the available weight of metatags may be allocated to ensure that the associated advertising content reaches the required number of terminals. In another example, the weight may indicate the revenue available by inserting the advertising feed. For example, a weight of 3 may indicate 3 x (base unit of revenue) to determine revenue that would be received by inserting the advertising content In this manner, the operator of a local network may determine which advertisements should be placed to maximize operator revenue.

FIG. 5 provides a flow chart 500 that shows how metatags may be used to insert advertising content. In general, aspects of FIG. 5 relate to FIG. 2 and illustrate how advertising content may be inserted. However, FIG. 5 illustrates how a metatag associated with an advertising indicator may be used to select content. Initially, the source system 110 creates an encoded feed (step 505). The source system 110 inserts a metatag (step 510). Typically, inserting a metatag includes creating a digital mark in an encoded feed of data units so that a duplicating device knows to insert advertisements. Typically, each metatag includes one or more descriptors of the metatag. For example, as was described with respect to FIG. 4, the metatag may include a weight that indicates the priority of the subsequent content (e.g., a national advertisement) relative to content that might be inserted downstream. Inserting the metatag may involve inserting advertising content, as was described with respect to FIG. 2. In another example, the metatag may be inserted without associated advertising content. If background content is available (e.g., national advertising content what was not selected for insertion into the duplicated feed), then, in the event of an outage, the duplicating device may resort to the background content for incorporation into the duplicated feed. In yet another example, the metatag may include a record descriptive of the advertisement to identify targeted groups. The record also may be indicative of the advertisement. The source system 110 transmits the encoded stream with the metatag (step 515). If TCP is used to transmit the encoded feed, then the delivery and receipt of the encoded stream and metatags may be verified. TCP is not the only protocol that may verify the delivery and receipt of the encoded feed. Rather, TCP is one example of a protocol that verifies receipt of content, and does so inherently through acknowledgements. Other protocols also may verify delivery and receipt.

The source system 130 receives the encoded feed (step 520). The duplicating device 130 then duplicates the encoded feed as a duplicated feed (step 525).

The duplicating device 130 processes the metatags (step 530). Generally, processing the metatags involves determining a value for one or more descriptors of the metatag and/or associated content. For example, as described with respect to FIG. 4, processing the metatag may include determining that the weight of the encoded metatag is 5.

The terminal provides state information to the duplicating device (step 535), which then receives the state information (step 540). The state information may include local metatag information for local advertising content to be inserted. For example, a local advertisement may include a metatag weight of 5.

Although receiving state information is shown with respect to the terminal 150, the state information may be received from other systems. For example, the metatag information for local advertising content may be received when the local advertising content is loaded (e.g., at the local advertising ingest site).

The duplicating device 130 relates the metatag information with the state information (step 545) to determine if local advertising content should be selected (step 550). Relating the metatag information may include determining whether the national advertising content in the encoded feed takes priority over the local advertising content. Alternatively, the metatag information may be applied to the state information to create a profile of advertising content that should be retrieved. The advertising content may be identified on a granular basis, that is, per terminal. For example, applying the metatag to state information for a first terminal may indicate that the national advertising content should be inserted, while applying the metatag to state information for a second terminal may indicate that local advertising content should be inserted. In one example, the inserted local advertising content may be selected from a queue of advertising content. In another example, local advertising content may be selected from a collection of local advertising content, with the selection being random or based on characteristics of, for example, the terminal or the local advertising content.

If local advertising content is selected, the local advertising content is accessed (step 550) and inserted into the duplicated feed (step 560). If the local advertising content is not inserted, the national advertising content is used (step 550A). In any event, the duplicating device transmits the duplicated feed to the terminal (step 565). The terminal 150 receives the duplicated feed (step 570).

Other implementations are within the scope of the following claims. For instance, a stream manager may dynamically create and remove advertising content from libraries. The stream manager may include a network operator, a managing server, a workstation, or a scheduling agent. Examples of the duplicating device include a server and a duplicating switch. While aspects of the duplicating device are described with respect to inserting advertising content, the duplicating device may be used to insert non-advertising content into a duplicated feed.

The buffer in the duplicating device may be set to a length such that, when a terminal receives the duplicated feed, the content will be outputted alongside live content through other transmissions channels. For example, the buffer length may be set to 500 ms (“milliseconds”) to mimic the delay present in satellite transmissions. A 500 ms buffer enables lost data units to be retransmitted, assuming 150 ms nationwide response rates. Similarly, a 500 ms buffer enables live or emergency transmissions to e received nearly simultaneously with transmissions being sent over the airwaves as radio (e.g., Frequency modulation (FM) radio). 

1. A method comprising: identifying an advertisement insertion indicator in a data stream between a first portion of content and a second portion of content; identifying a first advertisement associated with the advertisement insertion indicator; identifying a second advertisement; identifying state information associated with a terminal of a user; determining, by at least one processor and based on the state information associated with the terminal, to present the second advertisement in place of the first advertisement; and presenting the second advertisement in place of the first advertisement.
 2. The method as recited in claim 1, further comprising, based on the determination, associating the second advertisement with the advertisement insertion indicator.
 3. The method as recited in claim 1, wherein determining to present the second advertisement in place of the first advertisement is further based on a comparison of the second advertisement and the first advertisement.
 4. The method as recited in claim 3, wherein the first advertisement is associated with a first weight, and the second advertisement is associated with a second weight.
 5. The method as recited in claim 4, wherein determining to present the second advertisement in place of the first advertisement is further based on a comparison of the first weight and the second weight.
 6. The method as recited in claim 5, wherein the comparison of the first weight and the second weight determines that the second weight is greater than the first weight.
 7. The method as recited in claim 1, further comprising identifying metadata associated with the first advertisement, and identifying metadata associated with the second advertisement.
 8. The method as recited in claim 7, wherein determining to present the second advertisement in place of the first advertisement is further based on a comparison of the metadata associated with the first advertisement and the metadata associated with the first advertisement.
 9. The method as recited in claim 1, wherein the first advertisement is a national advertisement and the second advertisement is a local advertisement.
 10. The method as recited in claim 1, wherein the first advertisement is a default advertisement and the second advertisement is a customized advertisement.
 11. The method as recited in claim 1, wherein the state information associated with the terminal of the user comprises one or more of a terminal profile or session information.
 12. The method as recited in claim 11, wherein the terminal profile comprises one or more preferences associated with the user of the terminal.
 13. The method as recited in claim 12, wherein the session information comprises information related to a number of data packets received by the terminal.
 14. A system comprising: non-transitory computer readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, cause the system to: identify an advertisement insertion indicator in a data stream between a first portion of content and a second portion of content; identify a first advertisement associated with the advertisement insertion indicator; identify a second advertisement; identify state information associated with a terminal of a user; determine, based on the state information associated with the terminal, to present the second advertisement in place of the first advertisement; and present the second advertisement in place of the first advertisement.
 15. The system as recited in claim 15, wherein the first advertisement is associated with a first weight, and the second advertisement is associated with a second weight.
 16. The system as recited in claim 16, further comprising computer-executable instructions that, when executed cause the system to determine to present the second advertisement in place of the first advertisement based on the state information associated with the terminal as well as on a comparison of the first weight and the second weight.
 17. The system as recited in claim 15, wherein the first advertisement is a national advertisement and the second advertisement is a local advertisement.
 18. The system as recited in claim 15, wherein the first advertisement is a default advertisement and the second advertisement is a customized advertisement.
 19. The system as recited in claim 18, wherein the state information associated with the terminal comprises a user profile associated with the user of the terminal.
 20. The system as recited in claim 19, wherein the customized advertisement is presented in place of the default advertisement based on the user profile associated with the user of the terminal. 